export default {

  /**
   * 02300010---维保单独一次性全量列表数据(无分页)
   * /device/devicemaintenance/all
   *
   */
  "POST /device/devicemaintenance/all": (req, res) => {
    res.send({
      trace_id: "15d9733dc1fe4072005ac112a01717a",
      request_id: "15d9733dc1fe4772002ac112a01715c",
      error_info: "执行成功",
      error_no: "0",
      data: {
        list: [
          {
            maintenanceId:"1",
            maintenanceName: "单位名称11",
          },
          {
            maintenanceId:"2",
            maintenanceName: "单位名称11",
          }
        ]
      }
    });
  },


  /**
   * 00020002---养护人、维修人、整改人
   * /sys/user/queryUserByUserType
   * @param  {string}  deptId   维保单位ID 非必填
   * @param  {string}  userType        01 为 甲方单位用户（即管理人和编制人列表） 02 为维保单位用户（养护人、维修人、整改人列表）
   */
  "POST /sys/user/queryUserByUserType": (req, res) => {
    res.send({
      trace_id: "15d9733dc1fe4072005ac112a01717a",
      request_id: "15d9733dc1fe4772002ac112a01715c",
      error_info: "执行成功",
      error_no: "0",
      data: {
        list: [
          {
            userId:"1",
            realName: "张三",
          },
          {
            userId:"2",
            realName: "李四",
          }
        ]
      }
    });
  },



  /**
   * 00020004---区域树
   * /assembly/sysdistrict/all
   */
  "POST /assembly/sysdistrict/all": (req, res) => {
    res.send({
      trace_id: "15d9733dc1fe4072005ac112a01717a",
      request_id: "15d9733dc1fe4772002ac112a01715c",
      error_info: "执行成功",
      error_no: "0",
      data: {
        list: [
          {
            districtId: "1",
            districtName: "浙江省",
            parentId: '0',
          },
          {
            districtId: "2",
            districtName: "江苏省",
            parentId: '0',
          },
          {
            districtId: "3",
            districtName: "杭州市",
            parentId: '1',
          },
          {
            districtId: "4",
            districtName: "宁波市",
            parentId: '1',
          },
          {
            districtId: "5",
            districtName: "海南省",
            parentId: '0',
          },
          {
            districtId: "6",
            districtName: "江干区",
            parentId: '3',
          }

        ]
      }
    });

  },


  /**
   * 02100006---根据区域名称查询安装位置
   * /sys/syspoint/queryList
   * @param  {number}  districtId         区域名称
   */
  "POST /sys/syspoint/queryList": (req, res) => {
    res.send({
      trace_id: "15d9733dc1fe4072005ac112a01717a",
      request_id: "15d9733dc1fe4772002ac112a01715c",
      error_info: "执行成功",
      error_no: "0",
      data: {
        list: [
          {
            pointId: "1",
            pointName: "冲围天福路68号"
          },
          {
            pointId: "2",
            pointName: "道外区北头道街靖宇街交叉口"
          }
        ]
      }
    });
  },

};
